//
//  NSString+Regex.h
//  SmartEstateCC
//
//  Created by 初唐科技 on 2018/3/6.
//  Copyright © 2018年 pretang. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (Regex)

- (NSString *)encryptPhone;
- (BOOL)isPhone;
- (BOOL)isCharacterAndNumberAtLeast:(int)least most:(int)most;
- (BOOL)isNumber;
- (BOOL)isInteger;

//因为或数字最多几位
- (BOOL)isCharacterOrNumberMost:(int)most;
@end
